package grammar.dataIO;

import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;

/**
 * @Project ：learn_java
 * @File ：Client.java
 * @IDE ：IntelliJ IDEA
 * @Author ：自由如风间
 * @Date ：2025/3/16 20:22
 * @Description ：For study.
 */

public class Client {
    public static void main(String[] args) throws IOException {
        String localhost = InetAddress.getLocalHost().getHostAddress();
        Socket socket = new Socket(localhost, 10000);
        /*
        try (DataInputStream dis = new DataInputStream();
             DataOutputStream dos = new DataOutputStream(socket.getOutputStream())) {
            dos.write("HELLO".getBytes());
            dos.writeBoolean(false);
            dos.writeInt(1);
            dos.flush();
        }

        */
    }
}
